package com.hecate.user.api.req.permissionresource;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 新增权限资源请求参数
 *
 * @author 黄星星
 * @date 2020-07-30
 */
@ApiModel("新增权限资源请求参数")
public class UpdatePermissionResourceRequest {

    @ApiModelProperty("权限资源bid")
    private String bid;

    @ApiModelProperty("权限code")
    private String permissionCode;

    @ApiModelProperty("权限名称")
    private String permissionName;

    @ApiModelProperty("上级权限bid")
    private String parentPermissionBid;

    @ApiModelProperty("新增权限")
    private String addPermission;

    @ApiModelProperty("删除权限")
    private String deletePermission;

    @ApiModelProperty("更新权限")
    private String updatePermission;

    @ApiModelProperty("查询权限")
    private String serarchPermission;

    @ApiModelProperty("其他权限")
    private String otherPermission;

    @ApiModelProperty("权限资源类别")
    private String permissionResourceType;

    public String getBid() {
        return bid;
    }

    public void setBid(String bid) {
        this.bid = bid;
    }

    public String getPermissionCode() {
        return permissionCode;
    }

    public void setPermissionCode(String permissionCode) {
        this.permissionCode = permissionCode == null ? null : permissionCode.trim();
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName == null ? null : permissionName.trim();
    }

    public String getParentPermissionBid() {
        return parentPermissionBid;
    }

    public void setParentPermissionBid(String parentPermissionBid) {
        this.parentPermissionBid = parentPermissionBid == null ? null : parentPermissionBid.trim();
    }

    public String getAddPermission() {
        return addPermission;
    }

    public void setAddPermission(String addPermission) {
        this.addPermission = addPermission == null ? null : addPermission.trim();
    }

    public String getDeletePermission() {
        return deletePermission;
    }

    public void setDeletePermission(String deletePermission) {
        this.deletePermission = deletePermission == null ? null : deletePermission.trim();
    }

    public String getUpdatePermission() {
        return updatePermission;
    }

    public void setUpdatePermission(String updatePermission) {
        this.updatePermission = updatePermission == null ? null : updatePermission.trim();
    }

    public String getSerarchPermission() {
        return serarchPermission;
    }

    public void setSerarchPermission(String serarchPermission) {
        this.serarchPermission = serarchPermission == null ? null : serarchPermission.trim();
    }

    public String getOtherPermission() {
        return otherPermission;
    }

    public void setOtherPermission(String otherPermission) {
        this.otherPermission = otherPermission == null ? null : otherPermission.trim();
    }

    public String getPermissionResourceType() {
        return permissionResourceType;
    }

    public void setPermissionResourceType(String permissionResourceType) {
        this.permissionResourceType = permissionResourceType == null ? null : permissionResourceType.trim();
    }
}